<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
    // 生成应用公共文件
    '__file__' => ['common.php', 'config.php', 'database.php'],

    // 定义demo模块的自动生成 （按照实际定义的文件名生成）
    'common'     => [
        '__file__'   => ['common.php'],
        '__dir__'    => ['behavior', 'controller', 'model', 'logic','validate'],
        'controller' => ['Base','Common','Openssl','Token'],
        'model'      => ['AgentLog','User','UserLogin','Shop','ShopClass','ShopItem','ShopType','BannerPosition','Banner','ShopPicture','Picture','Collection','Praise','ShopTech','Capital','CapitalWater','Recharge','RealBonusMember','RealBonusMember','ProvinceAgent','Agent','Shop','UserRole','Order','UserBonusDetail','ShopProfit','MemberBonusDetail','Withdraw','Card'],
        'logic'      => ['User','Shop','Banner','Collection','Praise','Capital','Pay','Recharge','Order','Oss','Shareholder','Shopincome','MemberBonusDetail','Withdraw','Card','Agent'],
        'behavior'   => ['UserCheck'],
        'validate'   => ['User','Common']
    ],
    'index'     => [
        '__file__'   => ['common.php'],
        '__dir__'    => ['controller', 'model', 'logic'],
        'controller' => ['Index'],
        'model'      => [],
    ],
    'api'     => [
        '__file__'   => ['common.php'],
        '__dir__'    => ['controller'],
        'controller' => ['User','Login','Shop','Banner','Collection','Praise','Capital','Pay','Config','Recharge','Order','Shareholder','Shopincome','MemberBonusDetail','Withdraw','Card','Agent']
    ],
    // 其他更多的模块定义
];
